package com.swas.dao;

import com.swas.entity.BaseStock;
import com.swas.entity.BaseStockExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BaseStockDao {
    long countByExample(BaseStockExample example);

    int deleteByExample(BaseStockExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BaseStock record);

    int insertSelective(BaseStock record);

    List<BaseStock> selectByExample(BaseStockExample example);

    BaseStock selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BaseStock record, @Param("example") BaseStockExample example);

    int updateByExample(@Param("record") BaseStock record, @Param("example") BaseStockExample example);

    int updateByPrimaryKeySelective(BaseStock record);

    int updateByPrimaryKey(BaseStock record);
}